package com.cheneyjoo.factory;

import com.cheneyjoo.service.IClassStudentsService;
import com.cheneyjoo.service.IStudentClassService;
import com.cheneyjoo.service.IStudentService;
import com.cheneyjoo.service.ISysUserService;
import com.cheneyjoo.usecase.StudentClassUseCase;
import com.cheneyjoo.usecase.StudentUseCase;
import com.cheneyjoo.usecase.SysUserUseCase;

public class ClassFactory {
    /**
     * 获取用户操作实例
     * @return 用户操作实现类
     */
    public static ISysUserService getSysUserService() {
        return new SysUserUseCase();
    }
    /**
     * 获取学生操作实例
     * @return 学生信息操作实现类
     */
    public static IStudentService getStudentService() {
        return new StudentUseCase();
    }
    /**
     * 获取班级操作实例
     * @return 班级信息操作实现类
     */
    public static IStudentClassService getStudentClassService() {
        return new StudentClassUseCase();
    }
    /**
     * 获取学生班级操作实例
     * @return 学生班级信息操作实现类
     */
    public static IClassStudentsService getClassStudentsService() {
        return new StudentClassUseCase();
    }
}
